<?php

$query = db_select('shusy_store_order_comment', 'p');
$query->fields('p', ['id']);
$query->condition('product_id', 1);
$query->condition('uid', 2);
$query->range(0, 1);
$query->orderBy('id');
$result = $query->execute()->rowCount();
dpm($result);
